﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;


namespace IHodelBll
{
  public  interface IDishiBll
    {
        /// <summary>
        /// 添加菜品
        /// </summary>
        /// <param name="dishesInfo"></param>
        /// <returns></returns>
        int AddDish(DishesInfo dishesInfo);
        /// <summary>
        /// 删除菜品
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int DelDish(int id);
        /// <summary>
        /// 菜单列表
        /// </summary>
        /// <param name="id"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        List<DishesInfo> GetDishes();
        /// <summary>
        /// 显示菜品分类
        /// </summary>
        /// <returns></returns>
        List<DishLei> GetDishLeis();
        /// <summary>
        /// 添加点菜单
        /// </summary>
        /// <param name="dishedInfo"></param>
        /// <returns></returns>
        int AddDished(DishedInfo dishedInfo);

        /// <summary>
        /// 添加菜品销售单
        /// </summary>
        /// <param name="dishSales"></param>
        /// <returns></returns>
        int AddDishSale(DishSalesInfo dishSales);
        /// <summary>
        /// 显示菜品销售单
        /// </summary>
        /// <returns></returns>
        List<DishSalesInfo> GetDishSales();
        /// <summary>
        /// 修改菜品价格
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int UpDishPrice(DishesInfo dishes);
    }
}
